﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace TLM.PlaylistGenerator.Model
{
    /// <summary>
    /// This class is used for serialization to playlist files
    /// </summary>
    [Serializable]
    [XmlRoot(ElementName = "Playlist")]
    public class Playlist
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Playlist"/> class.
        /// </summary>
        public Playlist()
        {
            IncludedTests = new List<IncludedTest>();
        }

        /// <summary>
        /// Gets or sets the tests within the playlist
        /// </summary>
        [XmlElement(ElementName = "Add")]
        public List<IncludedTest> IncludedTests { get; set; }
    }
}